<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition
	template="/resources/styles/#{cachedInfo.styleInUse.name}/templates/preferences_master_layout.html">
	<ui:define name="content">
		<h:form>
			<h:panelGrid columns="2">
				<h:outputLabel for="username">#{msg.name}:</h:outputLabel>
				<h:outputLabel for="username">#{msg.type}:</h:outputLabel>
				<h:inputText value="#{locale.name}" />
				<h:inputText value="#{locale.type}" />
				<h:outputLabel for="username">#{msg.descr}:</h:outputLabel>
				<h:outputLabel for="username">#{msg.address}:</h:outputLabel>
				<h:inputText value="#{locale.desc}" />
				<h:inputText value="#{locale.address}" />
			</h:panelGrid>
			<h:commandButton value="#{msg.submit}" action="#{gestioneLocali.add(locale)}" />
		</h:form>
	</ui:define>
</ui:composition>
</html>